package com.jokul.service;

import com.jokul.dao.UserDao;
import com.jokul.dao.UserDaoImpl;
import com.jokul.model.User;

/**
 *
 *@author jokul
 *@2013-3-31 
 *@下午7:34:39
 */
public class UserServiceImpl implements UserService{

	private UserDao userDao = new UserDaoImpl();
	
	@Override
	public Integer insert(User user) {
		return userDao.insert(user);
	}

	@Override
	public User getUser(String userName) {
		return userDao.getUser(userName);
	}

}
